package com.study.mike.model.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author KangHui
 * @Date 2023/9/20 17:34
 */
@Data
public class ContractDTO {
    /**
     * 主键
     */
    @ExcelIgnore
    private Long id;

    /**
     * contract_name
     */
    @ExcelProperty(index = 0)
    private String contractName;

    /**
     * contract_type
     */
    @ExcelIgnore
    private Integer contractType;

    /**
     * flow_no
     */
    @ExcelProperty(index = 1)
    private String flowNo;

    /**
     * contract_no
     */
    @ExcelProperty(index = 2)
    private String contractNo;

    /**
     * location_no
     */
    @ExcelProperty(index = 3)
    private String locationNo;

    /**
     * cooperation_mode
     */
    @ExcelIgnore
    private Integer cooperationMode;

    /**
     * project_leader
     */
    @ExcelProperty(index = 4)
    private String projectLeader;

    /**
     * server_scope
     */
    @ExcelIgnore
    private List<String> serverScope;

    /**
     * sign_time
     */
    @ExcelProperty(index = 5)
    private Date signTime;

    /**
     * expire_time
     */
    @ExcelProperty(index = 6)
    private Date expireTime;

    /**
     * amount_type
     */
    @ExcelIgnore
    private Integer amountType;

    /**
     * contract_object
     */
    @ExcelProperty(index = 7)
    private String contractObject;

    /**
     * contract_tag
     */
    @ExcelIgnore
    private List<String> contractTag;

    /**
     * first_party_name
     */
    @ExcelProperty(index = 8)
    private String firstPartyName;

    /**
     * first_party_type
     */
    @ExcelIgnore
    private Integer firstPartyType;

    /**
     * trade_type
     */
    @ExcelIgnore
    private Integer tradeType;

    /**
     * contacts
     */
    @ExcelProperty(index = 9)
    private String contacts;

    /**
     * contacts_mobile
     */
    @ExcelProperty(index = 10)
    private String contactsMobile;

    /**
     * district
     */
    @ExcelIgnore
    private List<String> district;

    /**
     * detail_address
     */
    @ExcelProperty(index = 11)
    private String detailedAddress;

    /**
     * attachments_name
     */
    @ExcelIgnore
    private String attachmentsName;

    /**
     * attachments_path
     */
    @ExcelIgnore
    private String attachmentsPath;

    /**
     * attachments_suffix
     */
    @ExcelIgnore
    private String attachmentsSuffix;

    /**
     * company_code
     */
    @ExcelIgnore
    private String companyCode;

    /**
     * 创建时间
     */
    @ExcelIgnore
    private Date createTime;

    /**
     * 更新时间
     */
    @ExcelIgnore
    private Date updateTime;

    /**
     * exact_amount
     */
    @ExcelProperty(index = 12)
    private BigDecimal exactAmount;

    /**
     * contract_duration
     */
    @ExcelProperty(index = 13)
    private Long contractDuration;

    /**
     * district_id
     */
    @ExcelIgnore
    private List<Long> districtId;

    /**
     * contract_special
     */
    @ExcelIgnore
    private Integer contractSpecial;
}
